/**
 * Author: Shen Yanqiu
 * Date: 2017-12-09
 * Time: 15:39
 *
 */
import { request } from 'utils';
import { api } from 'config';

// 获取验证码
export async function getCode (params) {
  return request({
    url: api.code,
    method: 'post',
    data: params,
  });
}
// 执行修改密码
export async function doforgetPassword (params) {
  return request({
    url: api.forgetPassword.doforget,
    method: 'post',
    data: params,
  });
}
